<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page session="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>登陆首页</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<link rel="stylesheet" href="<%=basePath%>static/yzyx/css/login.css" />
		<script type="text/javascript" src="<%=basePath%>static/jquery-1.11.2.min.js" ></script>
  </head>
  
  <body>
   <div id="body">
			<div class="entry">
				<p>用户登录</p>
				<div class="input">
					<form:form method="post" id="fm1" commandName="${commandName}"  htmlEscape="true">
					 <div class="login_name" id="nameArea">
						<div class="inputOuter">
                                       <c:if test="${not empty sessionScope.openIdLocalId}">
                                               <strong>${sessionScope.openIdLocalId}</strong>
                                               <input type="hidden" id="u" name="username"
                                                       value="${sessionScope.openIdLocalId}"  />
                                       </c:if>
                                       <c:if test="${empty sessionScope.openIdLocalId}">
                                               <spring:message code="screen.welcome.label.netid.accesskey"
                                                       var="userNameAccessKey" />
                                               <form:input cssClass="inputstyle Account" placeholder="用户名"  cssErrorClass="inputstyle"
                                                       id="u" maxlength="20" tabindex="1" 
                                                       accesskey="${userNameAccessKey}" path="username"
                                                       autocomplete="false" htmlEscape="true" />
                                       </c:if>
                                       <!-- <input type="text" class="inputstyle" id="u" name="username" value="" tabindex="1"> -->
                                       <a class="uin_del" id="uin_del" href="javascript:;"
                                               style="display: none;"></a>
                                        </div>
                                        </div>
                                        <div class="login_pass" id="pwdArea">
						  			<div class="inputOuter">
                                                <spring:message code="screen.welcome.label.password.accesskey"
                                                        var="passwordAccessKey" />
                                                <form:password cssClass="inputstyle" id="p" name="p" tabindex="2"
                                                        path="password" maxlength="25" accesskey="${passwordAccessKey}"
                                                        htmlEscape="true" autocomplete="off" placeholder="密 码"/>
                                                <!-- <input type="password" class="inputstyle" id="p" name="p" value="" maxlength="16" tabindex="2">  -->
                                        </div>
                                      </div>
						<!-- <p class="mima visib">密码不能为空</p>
						<p class="zhang visib">账号不能为空</p> -->
						<%-- 验证码 --%>
                                <%--  --%>

                                <c:if test="${codeFlag== '1'}">
                                        <div class="login_code">
                                                <div class="inputOuter_code yanzheng_01">
                                                        <input type="text" class="inputstyle auth_code yanzheng" id="c"
                                                                name="verification_code" maxlength="6" tabindex="3" placeholder="验证码">
		                                                <div class="code_pic back">
		                                                        <img alt="验证码" src="<c:url value="code.jsp" />"
		                                                                style="width: 80px; height: 30px;">
		                                                </div>
                                                </div>
                                        </div>
                                </c:if>
						 <div class="login_tip">
                                        <form:errors path="*" id="msg"  cssClass="errors" element="div" />
                          </div>
						
						<div style="height: 2px;"></div>
                                <div class="btn">
                                        <input type="hidden" name="lt" value="${loginTicket}" /> <input
                                                type="hidden" name="execution" value="${flowExecutionKey}" /> <input
                                                type="hidden" name="_eventId" value="submit" /> 
                                                <input
                                                name="submit" class="but"  type="submit" accesskey="l"  value="登 陆"  tabindex="4" />

                                </div>

						<a>&nbsp;忘记考生号请点击</a>
					</form:form>
						
				</div>
			</div>
			<div class="entry2"></div>
			<div class="prompt">
				·新生请以考生号作为用户名登陆，密码为身份证后6位(X请大写)
<br /><br />·报到、缴费、住宿、政策等相关事项咨询请及时致电02586115791
<br /><br />·如有平台登陆问题请及时致电02586115956(白天8:30-16:30)

			</div>
			<div class="font">
				Copyright © 2016 山东医学高等专科学校. 地址：山东省临沂市聚才六路. 电话：0539-8225584.
				<br><br>邮编：276000. 鲁ICP备12018674号 
			</div>
		</div>
  </body>
</html>
